<h1><?php echo __("Products List") ?></h1>

<table>
  <thead>
    <tr>
      <th><?php echo __("Products") ?></th>
      <th><?php echo __("Products quantity") ?></th>
      <th><?php echo __("Products model") ?></th>
      <th><?php echo __("Products image") ?></th>
      <th><?php echo __("Products price") ?></th>
      <th><?php echo __("Products date available") ?></th>
      <th><?php echo __("Products weight") ?></th>
      <th><?php echo __("Products status") ?></th>
      <th><?php echo __("Products tax class") ?></th>
      <th><?php echo __("Manufacturers") ?></th>
      <th><?php echo __("Products ordered") ?></th>
      <th><?php echo __("Created at") ?></th>
      <th><?php echo __("Updated at") ?></th>
      <th><?php echo __("Deleted at") ?></th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($productsList as $products): ?>
    <tr>
      <td><a href="<?php echo url_for('products/edit?products_id='.$products->getProductsId()) ?>"><?php echo $products->getProductsId() ?></a></td>
      <td><?php echo $products->getProductsQuantity() ?></td>
      <td><?php echo $products->getProductsModel() ?></td>
      <td><?php echo $products->getProductsImage() ?></td>
      <td><?php echo $products->getProductsPrice() ?></td>
      <td><?php echo $products->getProductsDateAvailable() ?></td>
      <td><?php echo $products->getProductsWeight() ?></td>
      <td><?php echo $products->getProductsStatus() ?></td>
      <td><?php echo $products->getProductsTaxClassId() ?></td>
      <td><?php echo $products->getManufacturersId() ?></td>
      <td><?php echo $products->getProductsOrdered() ?></td>
      <td><?php echo $products->getCreatedAt() ?></td>
      <td><?php echo $products->getUpdatedAt() ?></td>
      <td><?php echo $products->getDeletedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

<a href="<?php echo url_for('products/create') ?>"><?php echo __("Create") ?></a>
